package com.example.kehoobackend.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "day_info",autoResultMap = true)
public class DayInfo {

    //日期，如2023-07-12
    @TableId
    private String date;

    //新增用户数
    private Integer new_users_count;

    //新增问题数
    private Integer new_questions_count;

    //新增回答数
    private Integer new_answers_count;

    //月与日，如7.12
    @TableField(exist = false)
    private String monthAndDay;
}
